import ElementPlus from 'element-plus'
// 引入图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

export const setElementPlus = (app: any) => {
    app.use(ElementPlus)
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
        app.component(key, component)
    }
}